﻿using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.System.Dtos.DictionaryData
{
    public class DictionaryDataUpInput
    {

        /// <summary>
        /// 项目状态
        /// </summary>
        [Required(ErrorMessage = "项目状态不能为空")]
        public int enabledMark { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        [Required(ErrorMessage = "项目名称不能为空")]
        public string fullName { get; set; }
        /// <summary>
        /// 字典分类id
        /// </summary>
        [Required(ErrorMessage = "字典分类id不能为空")]
        public string dictionaryTypeId { get; set; }
        /// <summary>
        /// 上级id,没有传0
        /// </summary>
        [Required(ErrorMessage = "上级id不能为空")]
        public string parentId { get; set; }
        /// <summary>
        /// 项目说明
        /// </summary>

        public string description { get; set; }
        public long? sortCode { get; set; }
        public string enCode { get; set; }
    }
}
